package cate.game.role.pvp.minecraft.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdMinecraft;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "矿洞争霸-采集区 状态 返回")
public class MinecraftMineAreaStateResp implements MsgOutput {
    @NoteField("是否关闭")
    public boolean close;
    @NoteField("下次开启时间")
    public long nextOpenTime;
    @NoteField("下次关闭时间")
    public long nextCloseTime;

    @Override
    public MsgConfig conf() {
        return MsgIdMinecraft.MINECRAFT_MINE_AREA_STATE_RESP;
    }

    public MinecraftMineAreaStateResp() {

    }

    public MinecraftMineAreaStateResp(boolean close, long nextOpenTime, long nextCloseTime) {
        this.close = close;
        this.nextOpenTime = nextOpenTime;
        this.nextCloseTime = nextCloseTime;
    }
}
